/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.semi.lex;

/**
 *
 * @author liaoyichang
 */
public class FloatToken extends Token {
    protected float value_f;
    public FloatToken(){
        super(Token.FLOAT,"");
    }
    public FloatToken(String v){
        super(Token.FLOAT,v);
        value_f = Float.parseFloat(v);
    }
    public float Value(){ return value_f; }
}
